PISOL\REVIEW\FRONT\ReviewForm A

Total Complexity 53
Dependencies 1
Dependents 2
Total lines 227
Lines of code 173
Logical lines of code 103
Comment lines 3
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
enqueue_scripts()
A
48 10 30
save_review()
A
46 9 37
validate()
A
52 10 21
custom_endpoint_template()
S
64 3 10
isReviewRequired()
S
77 2 3
get_products()
S
67 2 8
get_instance()
S
71 2 6
add_endpoint()
S
68 2 7
is_valid_order()
S
66 2 9
get_review_link()
S
67 1 7
is_my_custom_endpoint()
S
76 1 4
__construct()
S
68 1 7
get_form_description()
S
79 1 3
get_form_submit_text()
S
79 1 3
get_form_review_placeholder()
S
79 1 3
get_form_success_message()
S
79 1 3
get_rating_error_message()
S
79 1 3
get_review_error_message()
S
79 1 3
get_default_rating()
S
79 1 3
get_form_title()
S
79 1 3